Free memory allocated for target lists.
authorOwen Taylor <otaylor@redhat.com>
Wed, 6 Jan 1999 00:43:29 +0000 (00:43 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 6 Jan 1999 00:43:29 +0000 (00:43 +0000)
Tue Jan  5 11:31:55 1999  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkselection.c (gtk_target_list_unref): Free
memory allocated for target lists.

gtk/gtkselection.c

index c9ed219f1b60a07d7eaf63d7de916e24d8d14713..7c5aac55cd8e44be2571759188bbf6409c408fde 100644 (file)
@@ -184,6 +184,7 @@ gtk_target_list_unref (GtkTargetList *list)
 
          tmp_list = tmp_list->next;
        }
+      g_free (list);
     }
 }